﻿/*!	@file	r_scenegraph_node.h
	@brief	シーングラフノード
Copyright (c) 2010 Yuya Yamaguchi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/

#ifndef _R_SCENEGRAPH_SCENE_H_
#define _R_SCENEGRAPH_SCENE_H_

#include "r_scenegraph_node.h"


//! シーングラフノード
/*! シーングラフから派生するクラスの直接deleteを禁止します。
*/
class cRSceneGraphScene : public cRSceneGraphNode
{
	RRTTI_REFLECTION_DECLARE
public:
	//! コンストラクタ
	/*!
	*/
	cRSceneGraphScene();
protected:
	//! デストラクタ
	/*!
	*/
	virtual	~cRSceneGraphScene();
public:
	// システム呼び出し
	//! 更新処理
	/*!
	*/
	virtual	void				update();
	//! 描画処理を実行
	/*!
	@param	pass	[in]	評価パス
	*/
	virtual	void				draw ();
protected:
	// 継承先で再定義
	//! 更新処理
	/*!
	*/
	virtual	void				onUpdate();
public:
private:
private:
	// コピー禁止
	cRSceneGraphScene ( const cRSceneGraphScene& );
	const	cRSceneGraphScene&	operator	= ( const cRSceneGraphScene& );
};


#endif // _R_SCENEGRAPH_SCENE_H_

